package com.ysy.logistics.service.stock.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ysy.logistics.entities.stock.InBoundList;
import com.ysy.logistics.entities.stock.dto.InBoundListDto;
import com.ysy.logistics.mapper.stock.InBoundListMapper;
import com.ysy.logistics.service.stock.InBoundListService;
import com.ysy.logistics.util.PageInfo;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 * @ClassDescription:
 * @Author:姚斯羽
 * @Create:2025/4/7 10:19
 **/
@Service
public class InBoundListServiceImpl extends ServiceImpl<InBoundListMapper, InBoundList> implements InBoundListService {
    @Resource
    private InBoundListMapper inBoundListMapper;
    @Override
    public Page<InBoundListDto> listPage(PageInfo<InBoundListDto> pageInfo) {
        return inBoundListMapper.listPage(pageInfo.getPage(), pageInfo.getCriteria(),pageInfo.getBeginTime(),pageInfo.getEndTime());
    }
}
